﻿using Microsoft.AspNetCore.Mvc;
using RxxAdmin.Model.Entity;
using RxxAdmin.Model;
using RxxAdmin.Common.Hubs;

namespace RxxAdmin.Api.Controllers.System;

public class OnlineUserController : BaseApiController
{
    public OnlineUserController()
    {
        
    }

    [HttpGet]
    public async Task<MessageModel<List<HubUser>>> List()
    {
        await Task.CompletedTask;
        return Success(HubState.Users);
    }
}
